package com.example.demo.model;

public class LinkNode {
    private Node node;
    private double dist;
    private int linkstate;
    //新增9.14
    private double reSpeed;

    public LinkNode(){

    }

    public LinkNode(Node n, double d, int s/*, double rs*/){
        this.node = n;
        this.dist = d;
        this.linkstate = s;
        //this.reSpeed = rs;
    }

    public Node getNode() {
        return node;
    }

    public void setNode(Node node) {
        this.node = node;
    }

    public double getDist() {
        return dist;
    }

    public void setDist(double dist) {
        this.dist = dist;
    }

    public int getLinkstate() {
        return linkstate;
    }

    public void setLinkstate(int linkstate) {
        this.linkstate = linkstate;
    }

    public double getReSpeed() {
        return reSpeed;
    }
}
